package com.qidianit.mes.production.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qidianit.mes.common.pojo.MesResult;
import com.qidianit.mes.pojo.ProcessStep;
import org.springframework.stereotype.Service;

/**
 * @author 戴着假发的程序员
 * @company 起点编程
 * @date 2025/8/4 9:51
 * @description
 */

public interface ProcessStepService extends IService<ProcessStep> {

    MesResult<Integer> deleteBatch(String [] stepIds);

    MesResult<Integer> deleteById(Integer stepId);

    MesResult<Integer> updateProcessStepById(ProcessStep processStep);

    MesResult<ProcessStep> getProcessStepById(Integer stepId);
    MesResult<ProcessStep> saveStep(ProcessStep processStep);

    MesResult<Page<ProcessStep>> listProcessStep(String processCode,int pageNum, int pageSize);
}
